css: Fail animation shorthand parsing properly
authorBenjamin Otte <otte@redhat.com>
Wed, 30 Jul 2014 16:45:15 +0000 (18:45 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 31 Jul 2014 08:03:19 +0000 (10:03 +0200)
commitd6e9997619fb6bfe082360f1702d6d29250dc3ce
tree4e9ffd12a1bc3c9725d29e3f05fadc37fc26939e
parent5f5d3a9d820004e88b43ff20884d604b4620e47e
css: Fail animation shorthand parsing properly

When a number is not a nubmer, don't just crash, exit properly with an
error code.

See attached testcase for an example.
gtk/gtkcssshorthandpropertyimpl.c
testsuite/css/parser/Makefile.am
testsuite/css/parser/animation-crash-3.12.css [new file with mode: 0644]
testsuite/css/parser/animation-crash-3.12.errors [new file with mode: 0644]
testsuite/css/parser/animation-crash-3.12.ref.css [new file with mode: 0644]